import superRequest from '@/utils/http/index'
import { IDataType } from '@/utils/http/types'

/** 日志列表(接口) */
export const apiLogList = async (data: any) => {
  return await superRequest.post<IDataType>({
    url: '/log/list',
    data,
  })
}

/** 日志删除(接口) */
export const apiLogDelete = async (data: any) => {
  return await superRequest.post<IDataType>({
    url: '/log/delete',
    data,
  })
}

/** 日志清空(接口) */
export const apiLogClear = async (data: any) => {
  return await superRequest.post<IDataType>({
    url: '/log/clear',
    data,
  })
}
